package com.lh.pojo.bo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @program: foodie-dev
 * @description:
 * @author: LH
 * @create: 2022-04-18 14:19
 **/

@ApiModel(value = "用户对象BO", description = "从客户端，由用户传入的数据封装在此entity中")
public class UserBO {

    @ApiModelProperty(value ="用户名" , name ="username" , example ="lh" , required = true)
    private String username;
    @ApiModelProperty(value ="密码" , name ="password" , example ="lh" , required = true)
    private String password;
    @ApiModelProperty(value ="确认密码" , name ="confirmPassword" , example ="lh" , required = false)
    private String confirmPassword;

    public String getUsername() {
        return username;
    }

    public String getPassword() {
        return password;
    }

    public String getConfirmPassword() {
        return confirmPassword;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public void setConfirmPassword(String confirmPassword) {
        this.confirmPassword = confirmPassword;
    }

    @Override
    public String toString() {
        return "UserBO{" +
                "username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", confirmPassword='" + confirmPassword + '\'' +
                '}';
    }
}
